# 正切片用于从字符串中提取特定部分
cities = "Tongliao, Alxa"
print(cities[0:8])
print(cities[10:])
# 负切片用于从字符串末尾开始提取特定部分
cities = "Ordos, Bayannur"
print(cities[-8:-3])
print(cities[:-10])
